//
//  BuycartTableViewCell.h
//  cityStar
//
//  Created by Hancong on 14/12/22.
//  Copyright (c) 2014年 tiny. All rights reserved.
//

#import "BaseTableCell.h"
#import "BuycartGood.h"

@protocol BuycartTableViewCellDelegate <NSObject>

-(void)commodityChangeNumberWithIndex:(NSIndexPath *)index;
-(void)buycartTableViewCellTouchSeleceButtonWithIndex:(NSIndexPath *)index andisslelect:(BOOL)select;

@end

@interface BuycartTableViewCell : BaseTableCell

@property (nonatomic,weak) id<BuycartTableViewCellDelegate>delegate;
@property (nonatomic,weak) IBOutlet UIButton *btnSelect;
@property (nonatomic,weak) IBOutlet UIImageView *imageCommodity;
@property (nonatomic,weak) IBOutlet UILabel *labelContent;
@property (nonatomic,weak) IBOutlet UILabel *labelOldPrice;
@property (nonatomic,weak) IBOutlet UILabel *labelNewPrice;
@property (nonatomic,weak) IBOutlet UIButton *btnfixNum;
@property (nonatomic,strong) NSIndexPath *index;
@property (nonatomic,weak) IBOutlet UILabel *labelNumber;

-(void)configWithselect:(BOOL)state andGoodCart:(BuycartGood *)cartGood andindex:(NSIndexPath *)index;

@end
